package com.example.ble.ble_upgrade.upgrade;

import android.content.Context;
import android.util.Log;
import android.widget.Toast;

import java.io.File;
import java.io.FileInputStream;
import java.util.Arrays;

/**
 * Created by Admin on 2016/12/7.
 */

public class UpgradePresenter {

    public static final String FILE_CRC = "file crc:";
    public static final String FILE_SIZE = "file size:";
    public static final String PROGRAM_START = "program start:";
    public static final String SOFT_VER = "soft ver:";
    public static int programPos;
    public static Upgrade upgrade;
    public static int BLOCK_SIZE = 128;
    public static int UPGRADE_END = 0xffffffff;
    public int curBlock;
    public static final int TIMEOUT = 8 * 1000;
    public static String upgradeInfo;


}
